package com.example.server.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Timestamp;

@Data
public class Order implements Serializable {
    private BigInteger oid;
    private BigInteger uid;
    private BigInteger pid;
    private BigDecimal price;
    private int number;
    private BigDecimal total;
    private String address;
    private String username;
    private String telephone;
    private Timestamp time;

    private User user;
    private Product product;
}
